﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="change_password.aspx.cs" Inherits="RastinArgham.CRM.Web.change_password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3 class="ui-widget-header">
            <asp:Literal ID="lbtitle" runat="server" Text="تغییر رمز عبور" />
    </h3>

    <div class="ui-layout-content ui-widget-content">
        <div class="space2">
        </div>
        
        <div style="margin:20px;">
        <table>
            <tr>
                <td>رمز عبور قدیمی</td>
                <td>
                    <asp:TextBox ID="txtOldPassword" runat="server" TextMode="Password" />
                    <asp:RequiredFieldValidator ID="rfvOldPassword" runat="server" ErrorMessage="*" ControlToValidate="txtOldPassword" />
                </td>
            </tr>
            <tr>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <td>رمز عبور جدید</td>
                <td>
                    <asp:TextBox ID="txtNewPassword" runat="server" TextMode="Password" />
                    <asp:RequiredFieldValidator ID="rfvNewPassword" runat="server" ErrorMessage="*" ControlToValidate="txtNewPassword" />
                </td>
            </tr>
             <tr>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <td>تکرار رمز عبور جدید</td>
                <td>
                    <asp:TextBox ID="txtNewPasswordRepeat" runat="server" TextMode="Password" />
                    <asp:CompareValidator ID="cvPasswordValidator" ControlToValidate="txtNewPasswordRepeat" ErrorMessage="*" ControlToCompare="txtNewPassword" Operator="Equal" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnSaveChanges" runat="server" Text="ذخیره تغییرات" 
                        onclick="btnSaveChanges_Click" CausesValidation="true" />
                </td>
            </tr>
        </table>
        </div>
    </div>
</asp:Content>
